#!/bin/bash
set -e

rm -rf ./api.go
export GO_POST_PROCESS_FILE="/usr/local/go/bin/gofmt -w"
openapi-generator-cli generate -i ./paths.yaml -g go-server -c ./config.yaml -o ./api.go
